package experiment_01_Pram;

public class Student {
	private String id;
	private String name;
	private int age;
	private int Chinese;
	private int math;
	private int English;

	public Student(String id2, String name2, int age2, int chinese2, int english2, int math2) {
		this.id = id2;
		this.name = name2;
		this.age = age2;
		this.Chinese = chinese2;
		this.math = math2;
		this.English = english2;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public int getChinese() {
		return Chinese;
	}

	public void setChinese(int chinese) {
		Chinese = chinese;
	}

	public int getMath() {
		return math;
	}

	public void setMath(int math) {
		this.math = math;
	}

	public int getEnglish() {
		return English;
	}

	public void setEnglish(int english) {
		English = english;
	}

	@Override
	public String toString() {
		return "学号：" + id + " 姓名：" + name + " 年龄：" + age + " 语文成绩： " + Chinese + " 数学成绩：" + math + " 英语成绩：" + English;
	}
}
